<li class="list">
  <h3><a href="/articles/<%=index_news.id%>"><%= index_news.title %></a></h3>
  <%= image_tag url_for_file_column(index_news, "image_url","thumb"),:class=>'news' if index_news.image_url %>
  <span class="news_content">
    <%= truncate(index_news.content,200) %>
  </span>
  <p class="read_more">
    <a href="/articles/<%=index_news.id%>" class="action_more">阅读更多</a>
    <% if admin? %>
      <%= link_to '编辑', edit_article_path(index_news),:class=>'action_edit' %>
      <%= link_to '删除', index_news, :confirm => 'Are you sure?', :method => :delete,:class=>'action_delete' %>
    <% end %>
  </p>
</li>

<div class="break_line">
</div>
<br/>

